object fmEventos: TfmEventos
  Left = 0
  Top = 0
  BorderIcons = [biSystemMenu]
  BorderStyle = bsSingle
  Caption = 'Resultados'
  ClientHeight = 445
  ClientWidth = 841
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  Position = poDesktopCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnKeyPress = FormKeyPress
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object btResultados: TBitBtn
    Left = 203
    Top = 409
    Width = 75
    Height = 25
    Caption = 'Resultado'
    TabOrder = 0
    Visible = False
    OnClick = btResultadosClick
  end
  object btFechar: TBitBtn
    Left = 8
    Top = 409
    Width = 75
    Height = 25
    Caption = 'Fechar'
    TabOrder = 1
    OnClick = btFecharClick
  end
  object PageControl1: TPageControl
    Left = 8
    Top = 8
    Width = 272
    Height = 395
    ActivePage = TabSheet1
    TabOrder = 2
    object TabSheet1: TTabSheet
      Caption = 'Calend'#225'rio'
      object ThemeDBGrid1: TThemeDBGrid
        Left = 3
        Top = 3
        Width = 257
        Height = 361
        DataSource = dsEvento
        DefaultDrawing = False
        Options = [dgTitles, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
        OnDrawColumnCell = ThemeDBGrid1DrawColumnCell
        OnDblClick = btResultadosClick
        Columns = <
          item
            Alignment = taCenter
            Expanded = False
            FieldName = 'idevento'
            Title.Caption = ' '
            Width = 18
            Visible = True
          end
          item
            Alignment = taCenter
            Expanded = False
            FieldName = 'Data'
            Width = 75
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'Evento'
            Width = 156
            Visible = True
          end>
      end
    end
  end
  object btSalvar: TBitBtn
    Left = 715
    Top = 412
    Width = 113
    Height = 25
    Caption = 'Salvar Resultados'
    Enabled = False
    TabOrder = 3
    OnClick = btSalvarClick
  end
  object PageControl2: TPageControl
    Left = 286
    Top = 8
    Width = 547
    Height = 395
    ActivePage = TabSheet2
    TabOrder = 4
    object TabSheet2: TTabSheet
      Caption = 'TabSheet1'
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object Label1: TLabel
        Left = 5
        Top = 16
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '1'#186
      end
      object Label2: TLabel
        Left = 5
        Top = 43
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '2'#186
      end
      object Label3: TLabel
        Left = 5
        Top = 70
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '3'#186
      end
      object Label4: TLabel
        Left = 5
        Top = 97
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '4'#186
      end
      object Label5: TLabel
        Left = 5
        Top = 120
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '5'#186
      end
      object Label6: TLabel
        Left = 5
        Top = 151
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '6'#186
      end
      object Label7: TLabel
        Left = 5
        Top = 178
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '7'#186
      end
      object Label9: TLabel
        Left = 163
        Top = 16
        Width = 56
        Height = 13
        Caption = '(20 pontos)'
      end
      object Label10: TLabel
        Left = 163
        Top = 43
        Width = 56
        Height = 13
        Caption = '(17 pontos)'
      end
      object Label11: TLabel
        Left = 163
        Top = 70
        Width = 56
        Height = 13
        Caption = '(15 pontos)'
      end
      object Label12: TLabel
        Left = 163
        Top = 97
        Width = 56
        Height = 13
        Caption = '(13 pontos)'
      end
      object Label13: TLabel
        Left = 163
        Top = 124
        Width = 56
        Height = 13
        Caption = '(12 pontos)'
      end
      object Label14: TLabel
        Left = 163
        Top = 151
        Width = 56
        Height = 13
        Caption = '(11 pontos)'
      end
      object Label15: TLabel
        Left = 163
        Top = 178
        Width = 56
        Height = 13
        Caption = '(10 pontos)'
      end
      object Label8: TLabel
        Left = 5
        Top = 205
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '8'#186
      end
      object Label16: TLabel
        Left = 163
        Top = 205
        Width = 50
        Height = 13
        Caption = '(9 pontos)'
      end
      object Label17: TLabel
        Left = 285
        Top = 16
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '9'#186
      end
      object Label18: TLabel
        Left = 285
        Top = 43
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '10'#186
      end
      object Label19: TLabel
        Left = 285
        Top = 70
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '11'#186
      end
      object Label20: TLabel
        Left = 285
        Top = 97
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '12'#186
      end
      object Label21: TLabel
        Left = 285
        Top = 124
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '13'#186
      end
      object Label22: TLabel
        Left = 285
        Top = 151
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '14'#186
      end
      object Label23: TLabel
        Left = 285
        Top = 178
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '15'#186
      end
      object Label24: TLabel
        Left = 442
        Top = 16
        Width = 50
        Height = 13
        Caption = '(8 pontos)'
      end
      object Label25: TLabel
        Left = 442
        Top = 43
        Width = 50
        Height = 13
        Caption = '(7 pontos)'
      end
      object Label26: TLabel
        Left = 442
        Top = 70
        Width = 50
        Height = 13
        Caption = '(6 pontos)'
      end
      object Label27: TLabel
        Left = 442
        Top = 97
        Width = 50
        Height = 13
        Caption = '(5 pontos)'
      end
      object Label28: TLabel
        Left = 442
        Top = 124
        Width = 50
        Height = 13
        Caption = '(4 pontos)'
      end
      object Label29: TLabel
        Left = 442
        Top = 151
        Width = 50
        Height = 13
        Caption = '(3 pontos)'
      end
      object Label30: TLabel
        Left = 442
        Top = 178
        Width = 50
        Height = 13
        Caption = '(2 pontos)'
      end
      object Label31: TLabel
        Left = 285
        Top = 205
        Width = 30
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = '16'#186
      end
      object Label32: TLabel
        Left = 442
        Top = 205
        Width = 50
        Height = 13
        Caption = '(1 pontos)'
      end
      object DBLookupComboBox1: TDBLookupComboBox
        Left = 41
        Top = 12
        Width = 120
        Height = 21
        DataField = 'Primeiro'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        NullValueKey = 16462
        TabOrder = 0
      end
      object DBLookupComboBox2: TDBLookupComboBox
        Left = 41
        Top = 39
        Width = 120
        Height = 21
        DataField = 'Segundo'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 1
      end
      object DBLookupComboBox3: TDBLookupComboBox
        Left = 41
        Top = 66
        Width = 120
        Height = 21
        DataField = 'Terceiro'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 2
      end
      object DBLookupComboBox4: TDBLookupComboBox
        Left = 41
        Top = 93
        Width = 120
        Height = 21
        DataField = 'Quarto'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 3
      end
      object DBLookupComboBox5: TDBLookupComboBox
        Left = 41
        Top = 120
        Width = 120
        Height = 21
        DataField = 'Quinto'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 4
      end
      object DBLookupComboBox6: TDBLookupComboBox
        Left = 41
        Top = 147
        Width = 120
        Height = 21
        DataField = 'Sexto'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 5
      end
      object DBLookupComboBox7: TDBLookupComboBox
        Left = 41
        Top = 174
        Width = 120
        Height = 21
        DataField = 'Setimo'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 6
      end
      object DBLookupComboBox8: TDBLookupComboBox
        Left = 41
        Top = 201
        Width = 120
        Height = 21
        DataField = 'Oitavo'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 7
      end
      object DBLookupComboBox9: TDBLookupComboBox
        Left = 321
        Top = 12
        Width = 120
        Height = 21
        DataField = 'Nono'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        NullValueKey = 16462
        TabOrder = 8
      end
      object DBLookupComboBox10: TDBLookupComboBox
        Left = 321
        Top = 39
        Width = 120
        Height = 21
        DataField = 'Decimo'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 9
      end
      object DBLookupComboBox11: TDBLookupComboBox
        Left = 321
        Top = 66
        Width = 120
        Height = 21
        DataField = 'DecimoPrimeiro'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 10
      end
      object DBLookupComboBox12: TDBLookupComboBox
        Left = 321
        Top = 93
        Width = 120
        Height = 21
        DataField = 'DecimoSegundo'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 11
      end
      object DBLookupComboBox13: TDBLookupComboBox
        Left = 321
        Top = 120
        Width = 120
        Height = 21
        DataField = 'DecimoTerceiro'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 12
      end
      object DBLookupComboBox14: TDBLookupComboBox
        Left = 321
        Top = 147
        Width = 120
        Height = 21
        DataField = 'DecimoQuarto'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 13
      end
      object DBLookupComboBox15: TDBLookupComboBox
        Left = 321
        Top = 174
        Width = 120
        Height = 21
        DataField = 'DecimoQuinto'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 14
      end
      object DBLookupComboBox16: TDBLookupComboBox
        Left = 321
        Top = 201
        Width = 120
        Height = 21
        DataField = 'DecimoSexto'
        DataSource = dsEvento
        KeyField = 'idpiloto'
        ListField = 'Nome'
        ListSource = dsPilotos
        TabOrder = 15
      end
      object ThemeDBGrid2: TThemeDBGrid
        Left = 24
        Top = 240
        Width = 305
        Height = 113
        DataSource = dsPenalizacoes
        DefaultDrawing = False
        Options = [dgTitles, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
        TabOrder = 16
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'nome'
            Title.Caption = 'Piloto'
            Width = 206
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'Penalidade'
            Width = 71
            Visible = True
          end>
      end
      object BitBtn1: TBitBtn
        Left = 335
        Top = 240
        Width = 75
        Height = 25
        Caption = 'Adicionar'
        TabOrder = 17
        OnClick = BitBtn1Click
      end
      object BitBtn2: TBitBtn
        Left = 335
        Top = 271
        Width = 75
        Height = 25
        Caption = 'Remover'
        TabOrder = 18
        OnClick = BitBtn2Click
      end
    end
  end
  object btCancelarEvento: TBitBtn
    Left = 595
    Top = 412
    Width = 114
    Height = 25
    Caption = 'Cancelar Resultados'
    TabOrder = 5
    OnClick = btCancelarEventoClick
  end
  object dsEvento: TDataSource
    DataSet = dm.tabEventos
    OnStateChange = dsEventoStateChange
    OnDataChange = dsEventoDataChange
    Left = 110
    Top = 3
  end
  object dsPilotos: TDataSource
    DataSet = dm.tabPilotos
    Left = 158
    Top = 3
  end
  object Pergunta1: TPergunta
    Titulo = 'Cancelar resultado'
    Pergunta = 
      'Esta opera'#231#227'o ir'#225' cancelar os resultados desse evento. Deseja re' +
      'almente continuar?'
    TipoDeBotao = tbSimNao
    TipoDeIcone = tiPergunta
    Left = 200
    Top = 8
  end
  object dsPenalizacoes: TDataSource
    DataSet = dm.tabPenalizacoes
    Left = 536
    Top = 232
  end
  object Pergunta2: TPergunta
    Titulo = 'Salvar Evento'
    Pergunta = 'O evento n'#227'o est'#225' salvo. Deseja salvar?'
    TipoDeBotao = tbSimNao
    TipoDeIcone = tiPergunta
    Left = 112
    Top = 408
  end
end
